package com.guardchina.framework.util.utils;

/**
 * 描述
 *
 * @author lwb
 * @since 2020/3/7
 */
public class CommonUtil {

    public static String dealMobile(String mobile){
        int mobileLength = 11;
        if(mobile != null && mobile.length() == mobileLength){
            return mobile.substring(0, 3) + "****" + mobile.substring(7);
        }
        return mobile;
    }
}
